package com.rainripple.java.starter.code.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;

import com.rainripple.java.common.mapper.Mapper;
@Entity
@Mapper
public class Code {
@Id
private Long id;
private String description;
private String content;
private Long authorId;
	private Date date;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Long getAuthorId() {
		return authorId;
	}

	public void setAuthorId(Long authorId) {
		this.authorId = authorId;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
}
